function showKeyboard() {
    window.addEventListener('keyboardDidShow', (event) => {
        // Describe your logic which will be run each time when keyboard is about to be shown.
        console.log(event.keyboardHeight);
        document.getElementById("showInfo").innerHTML = "键盘高度:"+event.keyboardHeight;
    });
    Keyboard.show();
    document.getElementById("inputId").focus();

}

function hideKeyboard() {
    Keyboard.hide();
}



function showKeyboard2() {
    cordova.plugins.Keyboard.show();
    document.getElementById("inputId").focus();

}

function hideKeyboard2() {
    cordova.plugins.Keyboard.hide();
}
